package com.nzy.service;

import com.nzy.controller.request.ListGoodsRequest;
import com.nzy.controller.response.ListGoodsResponse;
import com.nzy.entity.Goods;

import java.util.List;

public interface GoodsService {

    int insert(Goods goods, Integer number);

    List<ListGoodsResponse> queryList(ListGoodsRequest request);

    Goods queryById(Integer id);

    Goods queryBySkuId(String skuId);
}
